@white : white;
@drop-down-color : #ececec;
@import "../js/ps_dialog/ps_dialog";
ul, li{list-style: none}

.iconfont{
  font-size: 18px!important;
  margin-right: 6px;
}


//主页顶上的菜单栏
.menu-header-title{
  display: flex;
  justify-content:center;
  //align-items:center;
  margin-top: 10px;
  height: 90%;
  a{

    img{
      margin: 0 32px;
      &:hover{
        border-radius: 50%;
        background-color: #3787c9;
      }
      &:active {
        background-color: #f7f7f7;
        border-radius: 50%;
      }
    }
    p{
      text-align: center;
      //margin-top: 8px;
    }
  }
}
.top_tab{
  position: fixed;
  top:0;
  left: 20%;
  width: 60%;
  height: 68px;
  background-color: rgba(0,0,0,0.76);
  z-index: 1000;
  //align-items: center;
  //>.top_tab_title{
  //  color: #fff;
  //  font-size: 40px;
  //  height: 100%;
  //  line-height: 200%;
  //}
  /*>ul{
    margin: 6px auto;
    //width: 76%;
    height: 100%;
    display: flex;
    padding: 0;
    justify-content: center;
    li{
      float: left;
      padding: 0 0.5%;
      width: 100px;
      list-style: none;
      text-align: center;
      >p{
        color: #1a7db2;
      }
      .menu-icon-nav{
        font-size: 61px;
        color: white;
        cursor: pointer;
        border-radius: 50%;
        background-color: #003476;
        text-align: center;
      }
    }

  }*/
}


.graph-editor__property{
  padding: 0;
  //background: rgba(0,0,0,0.7);
  background: unset;
  border-radius: 4px;
  border-top: none;
  //margin: 0 -18px ;
  margin: 0;
  color: @white;
  width: 366px;
  box-shadow: none;
  animation : slowAction 700ms ease-out;
  .form-inline{

  }
  .form-horizontal{
    margin: 0 8px 0 0;
    max-width: 268px;
  }
}
@keyframes slowAction {
  from{ width: 0;opacity: 0}
  to{ width: 300px;opacity: 1}
}


.main-title{
  /*  background: rgba(0,0,0,0.32) !important;
    h3{
      margin: 0;
      text-align: center;
      font-size: 46px;
      color: #fff;
      line-height: 96px;
    }*/
}

@input_bgc: rgba(2, 55, 80, .6);

.btn{
  background: @input_bgc;
  height: 32px;
  border: none;
  color: white;
  //width: 40px;
}
/*.btn:nth-child(n+1) {
  border-right: 1px solid #191919;
}*/

@menu-bgc: #4b4b4b;
@demo-color: #28b6ff;
@demo-default: #b0b1b5;
.header-menu{
  //width: 76%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid @demo-color;
  padding-left: 0;
  li{
    float: left;
    width: 100px;
    text-align: center;
    padding: 22px 0;
    margin: 0 2%;
    cursor: pointer;
    user-select:none;
    p{
      color: @demo-default;
      display: inline-block;
      font-size: 16px;
    }
    i{
      color: @demo-default;
      position: unset;
    }
    .menu-icon{
      font-size: 18px;
      margin-right: 7px;
    }
    &:hover{
      p{
        color: @demo-color;
      }
      i{
        color: @demo-color;
      }
    }
    &:active{
      p{
        color: #22d1ff;
      }
      i{
        color: #22d1ff;
      }
    }
  }
  &:before{
    position: absolute;
    left: -70px;
    content: '';
    width: 0;
    height: 0;
    border-top: 68px solid rgba(0,0,0,0.76);
    border-right: 2px solid rgba(0,0,0,0.76);
    border-left: 68px solid transparent;
    //border-bottom: 68px solid #000;
  }
  &:after{
    position: absolute;
    right: -72px;
    content: '';
    width: 0;
    height: 0;
    border-top: 68px solid rgba(0,0,0,0.76);
    border-right: 70px solid  transparent;
    border-left: 2px solid rgba(0,0,0,0.76);
    //border-bottom: 68px solid rgba(0,0,0,0.76);
  }
}
.header-title{
  width: 100%;
  padding: 10px;
  //background-color: @menu-bgc;
  background: radial-gradient(#4890bb, #1c597b, #092c3f);
  height: 40px;
  font-size: 20px;
  display: flex;
  justify-content:center;
  //border-top-left-radius: 2px;
  //border-top-right-radius: 2px;
  //text-align: center;
  align-items:center;
  color: @white;
  margin:0;
}
.start-select:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: 4px 34px 0 0;
  border-right: 5px solid @drop-down-color;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.detail-list{
  padding: 10px;
  li{
    margin:0 10px 34px;
    text-align: center;
    padding: 10px;
    border: 1px solid @demo-color;
    box-shadow: 0 0 28px 1px #28b6ff;
    span:first-child{
      margin-left: 20px;
    }
  }
}

.list-title{
  font-size: 18px;
  border: 1px solid #4a4747;
  margin: 10px;
  margin-bottom: 0;
  color: white;
  padding: 10px;
  text-align: center;
  background: radial-gradient(#4890bb, #1c597b, #092c3f);
}
.list-group{
  width: 94%;
  margin: 0 auto;

  .mouse-pointer{
    cursor:pointer;
    padding: 10px 10px;
    width: 100%;
    background-color: #282d30;
    border-bottom: 1px solid rgba(12, 16, 17, 0.9);
    color: @white;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
  }
  .form-group{
    width: 100%;
    background-color: #161b1c;
    padding: 10px 12px;
    margin: 0 auto;
    label{
      color: @white;
      padding: unset!important;
      text-indent: 6px;
    }
    .panel{
      .col-sm-12{
        padding-left: 0;
      }
    }
    &:before{
      content: '';
      margin-bottom: 10px;
    }
  }
  .kind-detail{
    >label:first-child{
      cursor: pointer;
      position: relative;
      &:after{
        content: '';
        position: absolute;
        left: -13px;
        top: 0;
        display: block;
        width: 0;
        height: 0;
        margin: 7px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 3px solid @white;
        //float: left;
      }
    }
    >.detail-group{
      width: 100%;
      margin: 5px auto 0;
      >.form-group{
        >.col-sm-6:first-child{
          margin-left: 27px;
          width: 40%!important;
        }
      }

    }
  }
  &:first-child{
    margin-top: 8px;
  }
}


//左侧菜单
.font-small{
  img{
    margin: -3px 6px 0 0;
  }
}
//echars表
.panel-header{
  padding: 0!important;
  height: 32px!important;
  border: none;
  .panel-title{
    height: 100%;
    color: #d5d6d8;
    border-top: 1px solid #1b4d67!important;
    background-color: #071f2c!important;
    position: relative;
    display: flex;
    //justify-content:center;
    align-items:center;
    text-indent: 40px;
    &:after{
      content: '';
      background: url(./../images/echars.png) no-repeat center center;
      width: 15px;
      height: 14px;
      margin-right: 10px;
      //display: inline-block;
      position: absolute;
      margin-left: 16px;
      //display: flex;
      //justify-content:center;
      //align-items:center;
    }
  }
}


@progress: 12px;
.progress{
  height: @progress;
  font-size: @progress;
  margin-bottom: 10px;
  background-color: rgba(49,113,200,0.8);
  border-radius: 6px;
}
.progress-bar{
  text-align: left!important;
  text-indent: 7px;
  background-color: #3171c8;
  line-height: @progress;
}

.tabs-panels {
  .panel-body{
    border-left: solid 1px #DDD;
    border-right: solid 1px #DDD;
  }
}

body {
  height: 100%;
  // background: url(bgc5.jpg) no-repeat center 0;
}
#canvas_panel {
  position: relative;
  overflow: hidden;
}
#canvas {
  width: 100%;
  outline: none;
  overflow: hidden;
}
.q-panel {
  position: relative;
  .q-toolbar {
    position: absolute;
    padding: 5px;
    top: 12px;
    left: 14px;
    //height: 40px;
    //width: 100%;
    z-index: 1;
  }
  .q-content {
    height: 100%;
    background: none!important;
    overflow: hidden;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    position: relative;

  }
}
#toolbox {
  position: absolute;
  top: 66px;
  left: 18px;
  color: @white;
  border-radius: 4px;
  background-color: #4c5258;
  padding: 5px;
  >img{
    //width: 50px;
    //height: 50px;
    margin: 6px 0;
    display: block;
  }
  > button {
    display: block;
    padding: 8px 7px 0 7px;
    border-radius: 0;
  }
}
.form-control{
  width: 80px;
  border: none!important;
  background-color: @input_bgc;
  margin-bottom: 8px;
  input{
    background-color: #4c5258!important;
    //color: #d5d6d8!important;
  }
}
.btn_bgc{
  background-color: #3787c9;
}

#center_panel {
  border: none;
}
.panel {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: none;
}
.panel-body{
  background: none;
}
.layout-split-west {
  border-right: 5px solid rgba(255, 255, 255, 0);
}
.layout-expand {
  background-color: #fff;
}

#toolbar{
  //background: none;
  padding: 5px;
  //border: 1px solid rgb(65, 170, 225, .4);
  border: 1px solid #41aae16e;
  border-radius: 4px;
  background: url("../images/utility_icon/input_tl.png") no-repeat,
  url("../images/utility_icon/input_tr.png") no-repeat 504px 0,
  url("../images/utility_icon/input_br.png") no-repeat 504px 42px,
  url("../images/utility_icon/input_bl.png") no-repeat 0 42px
  ;
  input{
    height: 38px;
  }
  button{
    height: 38px;
  }
}
#toolbar .btn, #toolbar .btn-group {
  margin-right: 5px;
}
#toolbar .btn-group .btn {
  margin-right: 0;
}
#graph_panel {
  height: 100%;
}
.tree-node {
  height: 20px;
}
.q-canvas {
  height: 100%;
}
#footer {
  text-align: center;
  padding: 8px;
  border-top: solid 1px #DDD;
  background-color: #EEE;
}
.node_icon{
  background: url('../images/node_icon.png') no-repeat center center;
  background-size: 18px;
}
.edge_icon{
  background: url('../images/edge_icon.png') no-repeat center center;
  background-size: 18px;
}

.layout-split-south{
  border: none;
}


.font-gray{
  label{
    color: #aeaeae!important;
  }
}

//下拉颜色框
@drop_btn: 28px;
.dropdown{
  position: relative;
  &::before{
    content: '';
    width: 18px;
    display: inline-block;
    height: 18px;
    left: -24px;
    top: 8px;
    position: absolute;
  }
  .form-control{
    height: @drop_btn;
    line-height: @drop_btn - 10;
    color: @white;
  }
}
.whiteStar{
  &::before{
    background: url('../images/star.png') no-repeat -121px -2px;
  }
}
.redStar{
  &::before{
    background: url('../images/star.png') no-repeat -1px -2px;
  }
}
.blueStar{
  &::before{
    background: url('../images/star.png') no-repeat -31px -2px;
  }
}
.greenStar{
  &::before{
    background: url('../images/star.png') no-repeat -61px -2px;
  }
}
.yellowStar{
  &::before{
    background: url('../images/star.png') no-repeat -91px -2px;
  }
}


//启用输入框
.input-readonly{
  input{
    width: 100px;
    color: #848486;
    border: none;
    height: 100%;
  }
}
.input-start {
  background-color: #e6e6e6;
  color: #333;
}
.input-group{
  .btn{
    height: @drop_btn;
    line-height: @drop_btn - 10;
  }
}

.input-readonly-no{
  display: none;
}

//table样式
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
  border-top: none!important;
  border-bottom: 1px solid rgba(12, 16, 17, 0.9);
}
.table{
  margin-bottom: 8px;
}